package com.syx.entity;

public class User {
    private Integer id;
    private Integer uid;
    private String upwd;
    private String uname;
    private String dep;
    private String post;

    public User() {
    }

    public User(Integer id, Integer uid, String upwd, String uname, String dep, String post) {
        this.id = id;
        this.uid = uid;
        this.upwd = upwd;
        this.uname = uname;
        this.dep = dep;
        this.post = post;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUpwd() {
        return upwd;
    }

    public void setUpwd(String upwd) {
        this.upwd = upwd;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getDep() {
        return dep;
    }

    public void setDep(String dep) {
        this.dep = dep;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", uid=" + uid +
                ", upwd='" + upwd + '\'' +
                ", uname='" + uname + '\'' +
                ", dep='" + dep + '\'' +
                ", post='" + post + '\'' +
                '}';
    }
}
